package com.cmsz.shuang.booter.rpc;

import java.io.Serializable;

public class RpcRequest implements Serializable {
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -1871257165218226315L;
	
	private long id;	// 请求的id编号
	private String methodName; // 被调用的方法名
	private Object[] args;		// 被调用方法传入的参数
	private Class[] parameterTypes; // 调用方法的参数类型
	
	public Class[] getParameterTypes() {
		return parameterTypes;
	}

	public void setParameterTypes(Class[] parameterTypes) {
		this.parameterTypes = parameterTypes;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}

	public Object[] getArgs() {
		return args;
	}

	public void setArgs(Object[] args) {
		this.args = args;
	}
	
}
